package com.android.inestpin.model;


import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.ArrayList;

public class checkoutcartdata {



        private Data data;
        private boolean flag;
        private int code;
        private String msg;
        private long time;
        public void setData(Data data) {
            this.data = data;
        }
        public Data getData() {
            return data;
        }

        public void setFlag(boolean flag) {
            this.flag = flag;
        }
        public boolean getFlag() {
            return flag;
        }

        public void setCode(int code) {
            this.code = code;
        }
        public int getCode() {
            return code;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }
        public String getMsg() {
            return msg;
        }

        public void setTime(long time) {
            this.time = time;
        }
        public long getTime() {
            return time;
        }

    public class Data {

        private int cart_type;
        private ArrayList<Cart_goods> cart_goods;
        private ArrayList<addressListData> address_list;
        private ArrayList<AddressData> address;
        private double weight;
        private ArrayList<FrightData> fright;
        private String flow_user_money;
        private ArrayList<Payment> payment;
        private Coupon_list coupon_list;
        private String address_id_checked;
        private String back;
        private ArrayList<String> order;
        public void setCart_type(int cart_type) {
            this.cart_type = cart_type;
        }
        public int getCart_type() {
            return cart_type;
        }

        public void setCart_goods(ArrayList<Cart_goods> cart_goods) {
            this.cart_goods = cart_goods;
        }
        public ArrayList<Cart_goods> getCart_goods() {
            return cart_goods;
        }





        public void setWeight(double weight) {
            this.weight = weight;
        }
        public double getWeight() {
            return weight;
        }



        public void setFlow_user_money(String flow_user_money) {
            this.flow_user_money = flow_user_money;
        }
        public String getFlow_user_money() {
            return flow_user_money;
        }

        public void setPayment(ArrayList<Payment> payment) {
            this.payment = payment;
        }
        public ArrayList<Payment> getPayment() {
            return payment;
        }

        public void setCoupon_list(Coupon_list coupon_list) {
            this.coupon_list = coupon_list;
        }
        public Coupon_list getCoupon_list() {
            return coupon_list;
        }

        public void setAddress_id_checked(String address_id_checked) {
            this.address_id_checked = address_id_checked;
        }
        public String getAddress_id_checked() {
            return address_id_checked;
        }

        public void setBack(String back) {
            this.back = back;
        }
        public String getBack() {
            return back;
        }

        public void setOrder(ArrayList<String> order) {
            this.order = order;
        }
        public ArrayList<String> getOrder() {
            return order;
        }

        public ArrayList<addressListData> getAddress_list() {
            return address_list;
        }

        public void setAddress_list(ArrayList<addressListData> address_list) {
            this.address_list = address_list;
        }

        public ArrayList<FrightData> getFright() {
            return fright;
        }

        public void setFright(ArrayList<FrightData> fright) {
            this.fright = fright;
        }

        public class addressListData{


    private String id;
    private String mid;
    private String username;
    private String name;
    private String mobile;
    private String zone;
    private String area;
    private String address;
    private String zip;
    private String is_default;
    public void setId(String id) {
        this.id = id;
    }
    public String getId() {
        return id;
    }

    public void setMid(String mid) {
        this.mid = mid;
    }
    public String getMid() {
        return mid;
    }

    public void setUsername(String username) {
        this.username = username;
    }
    public String getUsername() {
        return username;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getName() {
        return name;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
    public String getMobile() {
        return mobile;
    }

    public void setZone(String zone) {
        this.zone = zone;
    }
    public String getZone() {
        return zone;
    }

    public void setArea(String area) {
        this.area = area;
    }
    public String getArea() {
        return area;
    }

    public void setAddress(String address) {
        this.address = address;
    }
    public String getAddress() {
        return address;
    }

    public void setZip(String zip) {
        this.zip = zip;
    }
    public String getZip() {
        return zip;
    }

    public void setIs_default(String is_default) {
        this.is_default = is_default;
    }
    public String getIs_default() {
        return is_default;
    }
}
        public class FrightData{


            private String id;
            private String name;
            private String pinyin;
            private String listorder;
            private String status;
            private String free;
            private String sid;
            private String title;
            private int is_default;
            private String freight_free;
            private String shipping_fee;
            public void setId(String id) {
                this.id = id;
            }
            public String getId() {
                return id;
            }

            public void setName(String name) {
                this.name = name;
            }
            public String getName() {
                return name;
            }

            public void setPinyin(String pinyin) {
                this.pinyin = pinyin;
            }
            public String getPinyin() {
                return pinyin;
            }

            public void setListorder(String listorder) {
                this.listorder = listorder;
            }
            public String getListorder() {
                return listorder;
            }

            public void setStatus(String status) {
                this.status = status;
            }
            public String getStatus() {
                return status;
            }

            public void setFree(String free) {
                this.free = free;
            }
            public String getFree() {
                return free;
            }

            public void setSid(String sid) {
                this.sid = sid;
            }
            public String getSid() {
                return sid;
            }

            public void setTitle(String title) {
                this.title = title;
            }
            public String getTitle() {
                return title;
            }

            public void setIs_default(int is_default) {
                this.is_default = is_default;
            }
            public int getIs_default() {
                return is_default;
            }

            public void setFreight_free(String freight_free) {
                this.freight_free = freight_free;
            }
            public String getFreight_free() {
                return freight_free;
            }

            public void setShipping_fee(String shipping_fee) {
                this.shipping_fee = shipping_fee;
            }
            public String getShipping_fee() {
                return shipping_fee;
            }
        }

        public class Coupon_list {

            private ArrayList<useableData> useable;
            private ArrayList<disableData> disable;
public class disableData{
    private String amount	;
    private String coupon_id	;
    private String create_time	;
    private String exchange;
    private String expire_time	;
    private String id	;
    private String need_amount	;
    private String order_id	;
    private String paid	;
    private String paid_amount	;
    private String paid_goodscat;
    private String pid	;
    private String score	;
    private String send_type	;
    private String sended	;
    private String share	;
    private String share_time	;
    private String status	;
    private String stock	;
    private String   target;
    private String title	;
    private String  type	;
    private String uniqued	;
    private String use_time	;
    private String used;

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getCoupon_id() {
        return coupon_id;
    }

    public void setCoupon_id(String coupon_id) {
        this.coupon_id = coupon_id;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getExchange() {
        return exchange;
    }

    public void setExchange(String exchange) {
        this.exchange = exchange;
    }

    public String getExpire_time() {
        return expire_time;
    }

    public void setExpire_time(String expire_time) {
        this.expire_time = expire_time;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getNeed_amount() {
        return need_amount;
    }

    public void setNeed_amount(String need_amount) {
        this.need_amount = need_amount;
    }

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public String getPaid() {
        return paid;
    }

    public void setPaid(String paid) {
        this.paid = paid;
    }

    public String getPaid_amount() {
        return paid_amount;
    }

    public void setPaid_amount(String paid_amount) {
        this.paid_amount = paid_amount;
    }

    public String getPaid_goodscat() {
        return paid_goodscat;
    }

    public void setPaid_goodscat(String paid_goodscat) {
        this.paid_goodscat = paid_goodscat;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getSend_type() {
        return send_type;
    }

    public void setSend_type(String send_type) {
        this.send_type = send_type;
    }

    public String getSended() {
        return sended;
    }

    public void setSended(String sended) {
        this.sended = sended;
    }

    public String getShare() {
        return share;
    }

    public void setShare(String share) {
        this.share = share;
    }

    public String getShare_time() {
        return share_time;
    }

    public void setShare_time(String share_time) {
        this.share_time = share_time;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStock() {
        return stock;
    }

    public void setStock(String stock) {
        this.stock = stock;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUniqued() {
        return uniqued;
    }

    public void setUniqued(String uniqued) {
        this.uniqued = uniqued;
    }

    public String getUse_time() {
        return use_time;
    }

    public void setUse_time(String use_time) {
        this.use_time = use_time;
    }

    public String getUsed() {
        return used;
    }

    public void setUsed(String used) {
        this.used = used;
    }
}
public class useableData{


    private String id;
    private String send_type;
    private String coupon_id;
    private String pid;
    private String order_id;
    private String share;
    private String share_time;
    private String use_time;
    private String create_time;
    private String expire_time;
    private String status;
    private String title;
    private String type;
    private String target;
    private String amount;
    private String need_amount;
    private String stock;
    private String sended;
    private String used;
    private String uniqued;
    private String exchange;
    private String score;
    private String paid;
    private String paid_goodscat;
    private String paid_amount;
    private boolean target_name;
    public void setId(String id) {
        this.id = id;
    }
    public String getId() {
        return id;
    }

    public void setSend_type(String send_type) {
        this.send_type = send_type;
    }
    public String getSend_type() {
        return send_type;
    }

    public void setCoupon_id(String coupon_id) {
        this.coupon_id = coupon_id;
    }
    public String getCoupon_id() {
        return coupon_id;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }
    public String getPid() {
        return pid;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }
    public String getOrder_id() {
        return order_id;
    }

    public void setShare(String share) {
        this.share = share;
    }
    public String getShare() {
        return share;
    }

    public void setShare_time(String share_time) {
        this.share_time = share_time;
    }
    public String getShare_time() {
        return share_time;
    }

    public void setUse_time(String use_time) {
        this.use_time = use_time;
    }
    public String getUse_time() {
        return use_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }
    public String getCreate_time() {
        return create_time;
    }

    public void setExpire_time(String expire_time) {
        this.expire_time = expire_time;
    }
    public String getExpire_time() {
        return expire_time;
    }

    public void setStatus(String status) {
        this.status = status;
    }
    public String getStatus() {
        return status;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    public String getTitle() {
        return title;
    }

    public void setType(String type) {
        this.type = type;
    }
    public String getType() {
        return type;
    }

    public void setTarget(String target) {
        this.target = target;
    }
    public String getTarget() {
        return target;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }
    public String getAmount() {
        return amount;
    }

    public void setNeed_amount(String need_amount) {
        this.need_amount = need_amount;
    }
    public String getNeed_amount() {
        return need_amount;
    }

    public void setStock(String stock) {
        this.stock = stock;
    }
    public String getStock() {
        return stock;
    }

    public void setSended(String sended) {
        this.sended = sended;
    }
    public String getSended() {
        return sended;
    }

    public void setUsed(String used) {
        this.used = used;
    }
    public String getUsed() {
        return used;
    }

    public void setUniqued(String uniqued) {
        this.uniqued = uniqued;
    }
    public String getUniqued() {
        return uniqued;
    }

    public void setExchange(String exchange) {
        this.exchange = exchange;
    }
    public String getExchange() {
        return exchange;
    }

    public void setScore(String score) {
        this.score = score;
    }
    public String getScore() {
        return score;
    }

    public void setPaid(String paid) {
        this.paid = paid;
    }
    public String getPaid() {
        return paid;
    }

    public void setPaid_goodscat(String paid_goodscat) {
        this.paid_goodscat = paid_goodscat;
    }
    public String getPaid_goodscat() {
        return paid_goodscat;
    }

    public void setPaid_amount(String paid_amount) {
        this.paid_amount = paid_amount;
    }
    public String getPaid_amount() {
        return paid_amount;
    }

    public void setTarget_name(boolean target_name) {
        this.target_name = target_name;
    }
    public boolean getTarget_name() {
        return target_name;
    }}
            public void setDisable(ArrayList<disableData> disable) {
                this.disable = disable;
            }
            public ArrayList<disableData> getDisable() {
                return disable;
            }

        }
        public class Payment {

            private String pay_id;
            private String pay_code;
            private String pay_name;
            private String pay_fee;
            private String pay_desc;
            private String pay_order;
            private String pay_config;
            private String enabled;
            private String is_cod;
            private String is_online;
            private String thumb;
            public void setPay_id(String pay_id) {
                this.pay_id = pay_id;
            }
            public String getPay_id() {
                return pay_id;
            }

            public void setPay_code(String pay_code) {
                this.pay_code = pay_code;
            }
            public String getPay_code() {
                return pay_code;
            }

            public void setPay_name(String pay_name) {
                this.pay_name = pay_name;
            }
            public String getPay_name() {
                return pay_name;
            }

            public void setPay_fee(String pay_fee) {
                this.pay_fee = pay_fee;
            }
            public String getPay_fee() {
                return pay_fee;
            }

            public void setPay_desc(String pay_desc) {
                this.pay_desc = pay_desc;
            }
            public String getPay_desc() {
                return pay_desc;
            }

            public void setPay_order(String pay_order) {
                this.pay_order = pay_order;
            }
            public String getPay_order() {
                return pay_order;
            }

            public void setPay_config(String pay_config) {
                this.pay_config = pay_config;
            }
            public String getPay_config() {
                return pay_config;
            }

            public void setEnabled(String enabled) {
                this.enabled = enabled;
            }
            public String getEnabled() {
                return enabled;
            }

            public void setIs_cod(String is_cod) {
                this.is_cod = is_cod;
            }
            public String getIs_cod() {
                return is_cod;
            }

            public void setIs_online(String is_online) {
                this.is_online = is_online;
            }
            public String getIs_online() {
                return is_online;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }
            public String getThumb() {
                return thumb;
            }

        }

        public ArrayList<AddressData> getAddress() {
            return address;
        }

        public void setAddress(ArrayList<AddressData> address) {
            this.address = address;
        }

        public class AddressData {

            private String id;
            private String mid;
            private String username;
            private String name;
            private String mobile;
            private String zone;
            private String area;
            private String address;
            private String zip;
            private String is_default;
            public void setId(String id) {
                this.id = id;
            }
            public String getId() {
                return id;
            }

            public void setMid(String mid) {
                this.mid = mid;
            }
            public String getMid() {
                return mid;
            }

            public void setUsername(String username) {
                this.username = username;
            }
            public String getUsername() {
                return username;
            }

            public void setName(String name) {
                this.name = name;
            }
            public String getName() {
                return name;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }
            public String getMobile() {
                return mobile;
            }

            public void setZone(String zone) {
                this.zone = zone;
            }
            public String getZone() {
                return zone;
            }

            public void setArea(String area) {
                this.area = area;
            }
            public String getArea() {
                return area;
            }

            public void setAddress(String address) {
                this.address = address;
            }
            public String getAddress() {
                return address;
            }

            public void setZip(String zip) {
                this.zip = zip;
            }
            public String getZip() {
                return zip;
            }

            public void setIs_default(String is_default) {
                this.is_default = is_default;
            }
            public String getIs_default() {
                return is_default;
            }

        }
        public class Cart_goods implements MultiItemEntity {

            private String id;
            private String mid;
            private String goods_id;
            private String spec;
            private String goods_name;
            private String cost_price;
            private String goods_price;
            private String goods_spec;
            private String qty;
            private float subtotal;
            private String type;
            private String obj_id;
            private String is_selected;
            private String goods_cid;
            private String goods_stock;
            private String goods_is_sale;
            private String goods_weight;
            private String goods_weight_unit;
            private String goods_sp_val;
            private String thumb;
            private String img_src;
            private String url;

            public String getGoods_spec() {
                return goods_spec;
            }

            public void setGoods_spec(String goods_spec) {
                this.goods_spec = goods_spec;
            }

            public void setId(String id) {
                this.id = id;
            }
            public String getId() {
                return id;
            }

            public void setMid(String mid) {
                this.mid = mid;
            }
            public String getMid() {
                return mid;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }
            public String getGoods_id() {
                return goods_id;
            }

            public void setSpec(String spec) {
                this.spec = spec;
            }
            public String getSpec() {
                return spec;
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }
            public String getGoods_name() {
                return goods_name;
            }

            public void setCost_price(String cost_price) {
                this.cost_price = cost_price;
            }
            public String getCost_price() {
                return cost_price;
            }

            public void setGoods_price(String goods_price) {
                this.goods_price = goods_price;
            }
            public String getGoods_price() {
                return goods_price;
            }

            public void setQty(String qty) {
                this.qty = qty;
            }
            public String getQty() {
                return qty;
            }

            public void setSubtotal(float subtotal) {
                this.subtotal = subtotal;
            }
            public float getSubtotal() {
                return subtotal;
            }

            public void setType(String type) {
                this.type = type;
            }
            public String getType() {
                return type;
            }

            public void setObj_id(String obj_id) {
                this.obj_id = obj_id;
            }
            public String getObj_id() {
                return obj_id;
            }

            public void setIs_selected(String is_selected) {
                this.is_selected = is_selected;
            }
            public String getIs_selected() {
                return is_selected;
            }

            public void setGoods_cid(String goods_cid) {
                this.goods_cid = goods_cid;
            }
            public String getGoods_cid() {
                return goods_cid;
            }

            public void setGoods_stock(String goods_stock) {
                this.goods_stock = goods_stock;
            }
            public String getGoods_stock() {
                return goods_stock;
            }

            public void setGoods_is_sale(String goods_is_sale) {
                this.goods_is_sale = goods_is_sale;
            }
            public String getGoods_is_sale() {
                return goods_is_sale;
            }

            public void setGoods_weight(String goods_weight) {
                this.goods_weight = goods_weight;
            }
            public String getGoods_weight() {
                return goods_weight;
            }

            public void setGoods_weight_unit(String goods_weight_unit) {
                this.goods_weight_unit = goods_weight_unit;
            }
            public String getGoods_weight_unit() {
                return goods_weight_unit;
            }

            public void setGoods_sp_val(String goods_sp_val) {
                this.goods_sp_val = goods_sp_val;
            }
            public String getGoods_sp_val() {
                return goods_sp_val;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }
            public String getThumb() {
                return thumb;
            }

            public void setImg_src(String img_src) {
                this.img_src = img_src;
            }
            public String getImg_src() {
                return img_src;
            }

            public void setUrl(String url) {
                this.url = url;
            }
            public String getUrl() {
                return url;
            }

            @Override
            public int getItemType() {
                return 0;
            }
        }


    }
}
